package com.loop.stringDemo;

/**
 * String类的判断方法
 */
public class StringBoolean {
    public static void main(String[] args) {
        String a = "一abc";
        String b = "ABC";
        String c = "一aBc ";
        System.out.println(a.equalsIgnoreCase(c));
        System.out.println(a.startsWith(" 一a"));
        System.out.println(c.endsWith("c "));
    }
}
